package model.preprocessor;

import model.BasicParameter;

/**
 * Class that manage the preprocessor parameter.
 * 
 * @author GRONOWSKI Stephane svan001@aol.com
 * 
 *         igsat 2010
 * 
 */
public class PreProcessorParameter extends BasicParameter {
	/* output file */
	protected String	out	= null;

	/**
	 * 
	 * @return the output file.
	 */
	public String getOut() {
		return out;
	}

	/**
	 * Set the output file.
	 * 
	 * @param out
	 *            new file.
	 */
	public void setOut(String out) {
		this.out = out;
	}

	/**
	 * Create a new preprocessorParameter.
	 * 
	 * @param out
	 *            the output file.
	 */
	public PreProcessorParameter(String out) {
		super();
		this.out = out;
	}

	/**
	 * Create a new preprocessorParameter.
	 */
	public PreProcessorParameter() {
		super();
	}

	@Override
	public boolean basicCheck() {
		if (!super.basicCheck())
			return false;
		if (out == null)
			return false;
		return true;
	}

}
